import { getWay,postWay } from "@/utils/request.js";
/**
 * 商品接口
 */
// 根据商品ID（prodId）获取商品信息
export const prodMain = (data) => getWay("/prod/prodInfo", data);
export const isCollection1 = (data) => getWay("/p/user/collection/isCollection", data)

export const addOrCancel1 = (data) => postWay("/p/user/collection/addOrCancel", data)
export const changeItem = (data) => postWay("/p/shopCart/changeItem", data)

export const prodCommData = (data) => getWay("/prodComm/prodCommData", data)
